<!--<html ng-controller="AppliController" ng-init="init()" ng-app="eYe">-->
<html lang="fr" manifest="manifest.appcache.php" ng-app="eYe" ng-controller="AppliController" ng-init="init()">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">  
		<meta name=apple-mobile-web-app-capable content=yes>
		<meta name=apple-mobile-web-app-status-bar-style content=black>
		<title>eYe QCM</title>                                     
		<link rel="stylesheet" href="./style/style.css">
		<link rel="stylesheet" href="./style/offline.css">
		<link rel="stylesheet" href="./style/bootstrap.min.css">
		<link rel="stylesheet" href="./style/navbar.css">
		<script type="text/javascript" src="./lib/jquery.min.js"></script>
		<script type="text/javascript" src="./lib/lunr.min.js"></script>
		<script type="text/javascript" src="./lib/angular.min.js"></script> 
		<script type="text/javascript" src="./lib/md5.js"></script> 
		<script type="text/javascript" src="./lib/offline.js"></script>
		<script type="text/javascript" src="./lib/bootstrap.min.js"></script> 
		<script type="text/javascript" src="./lib/jaydata/jaydata.min.js"></script>	
		<script type="text/javascript" src="./lib/chart.min.js"></script> 
		<script type="text/javascript" src="./lib/chart_legend.js"></script> 
		<script type="text/javascript" src="./js/fonctions.js"></script>
		<script id="script_app" type="text/javascript" src="./js/app.js"></script>
		<script type="text/javascript" src="./models/theme.js"></script>
		<script type="text/javascript" src="./models/qcm.js"></script>
		<script type="text/javascript" src="./models/question.js"></script>
		<script type="text/javascript" src="./models/reponse.js"></script>
		<script type="text/javascript" src="./models/niveau.js"></script>
		<script type="text/javascript" src="./models/difficulte.js"></script>
		<script type="text/javascript" src="./models/evaluation.js"></script>
		<script type="text/javascript" src="./models/utilisateur.js"></script>
		<script type="text/javascript" src="./models/statistique.js"></script>
		<script type="text/javascript" src="./models/contact.js"></script>
		<script type="text/javascript" src="./factory/cache.js"></script>
		<script type="text/javascript" src="./factory/connexion.js"></script>
		<script type="text/javascript" src="./factory/database.js"></script>
		<script type="text/javascript" src="./factory/popup.js"></script>
		<script type="text/javascript" src="./factory/safeapply.js"></script>
		<script type="text/javascript" src="./factory/historique.js"></script>
		<script type="text/javascript" src="./controllers/accueil.js"></script>
		<script type="text/javascript" src="./controllers/application.js"></script>
		<script type="text/javascript" src="./controllers/theme.js"></script>
		<script type="text/javascript" src="./controllers/qcm.js"></script>
		<script type="text/javascript" src="./controllers/statistique.js"></script>
		<script type="text/javascript" src="./controllers/recherche.js"></script>
		<script type="text/javascript" src="./controllers/contact.js"></script>
		<script type="text/javascript" src="./controllers/option.js"></script>
		<script type="text/javascript" src="./controllers/apropos.js"></script>
		<!-- Pour les iMachin -->
		<link rel="apple-touch-icon-precomposed" href="./images/logo.png">
		<!-- Autres terminaux -->
		<link rel="icon" type="image/png" href="./images/logo.png">  
	</head>
	<body onload="window.scrollTo(0, 1);"> 

		<div id="cache_chargement"><div id="message_chargement"></div></div>
	
		<div id="container">
	  
			<div class="navbar navbar-violet navbar-fixed-top" role="navigation">
			    <div class="container">
			        <div class="navbar-header">
			            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse" id="btn_menu_bootstrap">
			                <span class="sr-only">Toggle navigation</span>
			                <span class="icon-bar"></span>
			                <span class="icon-bar"></span>
			                <span class="icon-bar"></span>
			            </button>
			            <a class="navbar-brand" href="./">eYe QCM</a>
			        </div>
			        <div class="navbar-collapse collapse" id="menu_bootstrap">			          
		                <ul class="nav navbar-nav">
		                	<li><a href="./#/theme">Themes et QCM</a></li>
		                    <li><a href="./#/statistiques">Statistiques</a></li>
		                    <li><a href="./#/recherche">Recherche</a></li>		                    
		                    <li><a href="{{url_admin}}">Administration</a></li>		                   
		                    <li>
				            	<a class="dropdown-toggle" data-toggle="dropdown" >Autres<b class="caret"></b></a>
		                        <ul class="dropdown-menu">
		                           <li><a href="./#/options">Options</a></li>
		                            <li><a href="./#/contact">Contact</a></li>
		                           <li><a href="./#/apropos">A propos</a></li>
		                        </ul>
			             	</li> <!---->
		                </ul> 
		                <ul class="nav navbar-nav navbar-right">
			            	<li id="aff_compte">
				            	<a class="dropdown-toggle" data-toggle="dropdown" ><span id="intule_connexion"></span><b class="caret"></b></a>
		                        <ul class="dropdown-menu">
		                            <li>
		                                <a href="#">Mon Compte</a>
		                            </li>
		                            <li>
		                                <div ng-click="deconnexion()" class="block_lien">Déconnexion</div>
		                            </li>
		                        </ul>
			             	</li>
			             	<li id="aff_invite">
				            	<a class="dropdown-toggle" data-toggle="dropdown" >Invité<b class="caret"></b></a>
		                        <ul class="dropdown-menu">
		                            <li>
		                                <div ng-click="afficherConnexion()" class="block_lien">Connexion</div>
		                            </li>
		                             <li>
		                                <a href="{{url_admin}}register">Inscription</a>
		                            </li>
		                        </ul>
			             	</li>
							<li id="aff_non_connecte">
				            	<a class="dropdown-toggle" data-toggle="dropdown" >Non Connecté<b class="caret"></b></a>
		                        <ul class="dropdown-menu">
		                            <li>
		                                <div ng-click="afficherConnexion()" class="block_lien">Connexion</div>
		                            </li>
		                             <li>
		                                <a href="{{url_admin}}register">Inscription</a>
		                            </li>
		                        </ul>
			             	</li>							
			            </ul>
			        </div>
			    </div>
			</div>

			<div id="main" >
				
				<!-- Contenu de la page -->				
				<div id="vue" ng-view></div>
				
				<!-- Formulaire de connexion -->			
				<div id="vue_connexion" ng-include="url_connexion"></div>

				<div id="bloc_boutons">
					<div id="btn_haut_page" class="btn_fleche"></div>
					<div id="btn_retour" class="btn_fleche" ng-click="afficherPagePrecedente()"></div>
				</div>
			</div>    
		</div>
					
		<!-- Popup -->			
		<div ng-include="url_popup"></div>
		
	</body>
</html>

